package avicit.bdp.dds.dao.entity;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 数据血缘表关系
 * 
 */
@ApiModel(value = "LineageTableDTO", description = "数据血缘表关系")
@Table(name = "bdp_dds_lineage_table")
public class LineageTableDTO extends BaseDTO {

	/**
	* 主键
	*
	*/
	@LogField
	@ApiModelProperty(value = "主键")
	@FieldRemark(column = "id", field = "id", name = "主键")
	@Column(name = "id")
	@Id
	@javax.persistence.Id
	private String id;

	/**
	 * 项目ID
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "项目ID")
	@FieldRemark(column = "project_id", field = "projectId", name = "项目ID")
	@Column(name = "project_id")
    private String projectId;

	/**
	 * 流程定义ID
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "流程定义ID")
	@FieldRemark(column = "process_definition_id", field = "processDefinitionId", name = "流程定义ID")
	@Column(name = "process_definition_id")
    private String processDefinitionId;
	/**
	 * 来源数据源ID
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "来源数据源ID")
	@FieldRemark(column = "source_datasource_id", field = "sourceDatasourceId", name = "来源数据源ID")
	@Column(name = "source_datasource_id")
    private String sourceDatasourceId;
	/**
	 * 来源表ID
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "来源表ID")
	@FieldRemark(column = "source_table_id", field = "sourceTableId", name = "来源表ID")
	@Column(name = "source_table_id")
    private String sourceTableId;
	/**
	 * 来源表代码
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "来源表代码")
	@FieldRemark(column = "source_table_code", field = "sourceTableCode", name = "来源表代码")
	@Column(name = "source_table_code")
    private String sourceTableCode;
	/**
	 * 目标数据源ID
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "目标数据源ID")
	@FieldRemark(column = "target_datasource_id", field = "targetDatasourceId", name = "目标数据源ID")
	@Column(name = "target_datasource_id")
    private String targetDatasourceId;
	/**
	 * 目标表ID
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "目标表ID")
	@FieldRemark(column = "target_table_id", field = "targetTableId", name = "目标表ID")
	@Column(name = "target_table_id")
    private String targetTableId;
	/**
	 * 目标表代码
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "目标表代码")
	@FieldRemark(column = "target_table_code", field = "targetTableCode", name = "目标表代码")
	@Column(name = "target_table_code")
    private String targetTableCode;
	/**
	 * 状态：1--血缘关系；0--非血缘关系
	 * 
	 */
	@LogField
	@ApiModelProperty(value = "状态：1--血缘关系；0--非血缘关系")
	@FieldRemark(column = "status", field = "status", name = "状态：1--血缘关系；0--非血缘关系")
	@Column(name = "status")
    private Integer status;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getProcessDefinitionId() {
		return processDefinitionId;
	}

	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}

	public String getSourceDatasourceId() {
		return sourceDatasourceId;
	}

	public void setSourceDatasourceId(String sourceDatasourceId) {
		this.sourceDatasourceId = sourceDatasourceId;
	}

	public String getSourceTableId() {
		return sourceTableId;
	}

	public void setSourceTableId(String sourceTableId) {
		this.sourceTableId = sourceTableId;
	}

	public String getSourceTableCode() {
		return sourceTableCode;
	}

	public void setSourceTableCode(String sourceTableCode) {
		this.sourceTableCode = sourceTableCode;
	}

	public String getTargetDatasourceId() {
		return targetDatasourceId;
	}

	public void setTargetDatasourceId(String targetDatasourceId) {
		this.targetDatasourceId = targetDatasourceId;
	}

	public String getTargetTableId() {
		return targetTableId;
	}

	public void setTargetTableId(String targetTableId) {
		this.targetTableId = targetTableId;
	}

	public String getTargetTableCode() {
		return targetTableCode;
	}

	public void setTargetTableCode(String targetTableCode) {
		this.targetTableCode = targetTableCode;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
